package com.qinyunkj.searchchatserver.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("crawler_config")
public class CrawlerConfig {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String targetUrl;
    private Integer intervalSeconds;
    private Boolean enabled;
    private LocalDateTime lastExecuteTime;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    
    @TableLogic
    private Integer deleted;
} 